Skip to main content
POST
/
v1
/
flux-pro-1.1-ultra
Generate an image with FLUX 1.1 [pro] with ultra mode and optional raw mode.
curl --request POST \
  --url https://api.bfl.ai/v1/flux-pro-1.1-ultra \
  --header 'Content-Type: application/json' \
  --header 'x-key: <api-key>' \
  --data '{
  "prompt": "A beautiful landscape with mountains and a lake",
  "prompt_upsampling": false,
  "seed": 42,
  "aspect_ratio": "16:9",
  "safety_tolerance": 2,
  "output_format": "jpeg",
  "raw": false,
  "image_prompt": "<string>",
  "image_prompt_strength": 0.1,
  "webhook_url": "<string>",
  "webhook_secret": "<string>"
}'
{
  "id": "<string>",
  "polling_url": "<string>",
  "cost": 123,
  "input_mp": 123,
  "output_mp": 123
}

Authorizations

x-key
string
header
required

Body

application/json
prompt
string | null
default:""
Example:
prompt_upsampling
boolean
default:false
seed
integer | null
Example:
aspect_ratio
string
default:16:9
safety_tolerance
integer
default:2
Required range: 0 <= x <= 6
Example:
output_format
enum<string> | null
default:jpeg
Available options:
jpeg,
png
raw
boolean
default:false
Example:
image_prompt
string | null
image_prompt_strength
number
default:0.1
Required range: 0 <= x <= 1
webhook_url
string<uri> | null
Required string length: 1 - 2083
webhook_secret
string | null

Response

  • AsyncResponse
  • AsyncWebhookResponse
id
string
required
polling_url
string
required
cost
number | null
input_mp
number | null
output_mp
number | null